home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / image / mactr019.zip / INSTALL.CMD < prev    next >
OS/2 REXX Batch file  |  1996-01-19  |  988b  |  36 lines

  1. /*
  2.  * MainActor/2 installation program, (c) 1996 by MainConcept, GbR
  3.  */
  4.  
  5. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  6. call SysLoadFuncs
  7.  
  8. say "Creating MainActor/2 folder and objects on desktop ..."
  9.  
  10. current = directory()
  11.  
  12. /* Create MainActor/2 folder */
  13.  
  14. title="MainActor/2"
  15. classname='WPFOLDER'
  16. location='<WP_DESKTOP>'
  17. setup='OBJECTID=<MA/2_Folder>'
  18. result=SysCreateObject(classname,title,location,setup,replace)
  19.  
  20. /* Creating MainActor/2 object */
  21.  
  22. title = "MainActor/2"
  23. classname = 'WPProgram'
  24. location = '<MA/2_Folder>'
  25. setup = 'OBJECTID=<MA/2>;EXENAME='current'\MActr.EXE;STARTUPDIR='current
  26. result=SysCreateObject(classname,title,location,setup,replace)
  27.  
  28. /* Creating MainActor/2 documentation object */
  29.  
  30. title = "MainActor/2 Documentation"
  31. classname = 'WPProgram'
  32. location = '<MA/2_Folder>'
  33. setup = 'OBJECTID=<MADOCU/2>;EXENAME=view.exe;PARAMETERS='current'\MActr.inf'
  34. result=SysCreateObject(classname,title,location,setup,replace)
  35.  
  36.